package test.event;

import context.event.ApplicationContextEvent;

/**
 * @Description: TODO
 * @Author: Take-off
 * @Date: 2023/3/7 10:20 AM
 * @Param
 * @return
 * @Version: 1.0
 **/
public class CustomEvent extends ApplicationContextEvent{
    private Long id;
    private String message;

    public CustomEvent(Object source, Long id, String message) {
        super(source);
        this.id = id;
        this.message = message;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
